package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.TourismPlan;

public interface TourismPlanService {
	public void saveOrUpdateTourismPlan(TourismPlan tourismPlan) throws Exception;
	public void saveTourismPlan(TourismPlan tourismPlan) throws Exception;
	public void deleteTourismPlan(TourismPlan tourismPlan) throws Exception;
	// 根据旅游计划ID查询该旅游计划
	public TourismPlan getTourismPlanByTourismPlanID(String tpID) throws Exception;    
	// 查询所有旅游计划
	public List<TourismPlan> getAllTourismPlanByCondition(String hql) throws Exception;
	// 查询所有旅游计划，分页显示
	public List<TourismPlan> getAllTourismPlanByConditionByPage(String hql, int currentPage, int lineSize) throws Exception;
	// 旅游计划数
	public int getCountOfTourismPlanByCondition(String hql) throws Exception;


}
